#!/bin/bash

set -e

for i in apache apache-perl apache-ssl; do
    if [ -e /etc/$i/httpd.conf ]; then
        modules-config $i disable mod_ngobjweb quiet
    fi
    if [ -x /usr/sbin/invoke-rc.d ] && [ -x /etc/init.d/$i ]; then
        invoke-rc.d $i force-reload || true
    elif [ -x /etc/init.d/$i ]; then
        /etc/init.d/$i force-reload || true
    fi
done

#DEBHELPER#
